package io.api.modules.login.dao;

import io.admin.common.dao.BaseDao;
import io.api.modules.login.dto.UserDTO;
import io.api.modules.login.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 用户表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-07-08
 */
@Mapper
public interface UserDao extends BaseDao<UserEntity> {

    UserEntity getUserByMobile(String mobile);

    UserEntity getUserByUserId(Long userId);

    List<UserEntity> selectByProjectId(Long projectId);
}